package top.infopub.mgr.mkt.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import top.infopub.dto.mkt.BidDecisionDto;
import top.infopub.generic.GenericDao;
import top.infopub.mgr.mkt.domain.BidCurrencyDomain;
import top.infopub.mgr.mkt.vo.BidCurrencyVo;
import top.infopub.model.mkt.BidDecision;
import top.infopub.model.mkt.ProjectRisk;

import java.util.List;

public interface BidDecisionDao extends GenericDao<BidDecision, String> {
    Page<BidCurrencyDomain> selectByDomainWhere(BidCurrencyVo bidCurrencyVo);

    BidDecisionDto queryDetailById(@Param("id") String id);

    void modifyById(BidDecision bidDecision);

    void insertByProcess(BidDecision bidDecision);

    BidDecision queryByProCode(@Param("proCode") String proCode);

    void insertRiskTable(List<ProjectRisk> riskTable);
}
